home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / mardek_rpg.swf / scripts / DefineSprite_3284_c_king / frame_20 / DoAction.as
Encoding:
Text File  |  2011-09-19  |  3.2 KB  |  133 lines

  1. function ┬º\x01\x02┬º()
  2. {
  3.    return 1189 % 511 * 5;
  4. }
  5. var ┬º\x01┬º = 17 + "\x01\x02"();
  6. while(true)
  7. {
  8.    if(eval("\x01") == 852)
  9.    {
  10.       set("\x01",eval("\x01") - 155);
  11.       ┬º┬ºpush(true);
  12.    }
  13.    else if(eval("\x01") == 32)
  14.    {
  15.       set("\x01",eval("\x01") + 11);
  16.       ┬º┬ºpush("\x0f");
  17.    }
  18.    else if(eval("\x01") == 493)
  19.    {
  20.       set("\x01",eval("\x01") - 143);
  21.       if(function ┬º\x01\x02┬º()
  22.       {
  23.          return 1189 % 511 * 5;
  24.       })
  25.       {
  26.          set("\x01",eval("\x01") + 557);
  27.       }
  28.    }
  29.    else
  30.    {
  31.       if(eval("\x01") == 350)
  32.       {
  33.          set("\x01",eval("\x01") + 557);
  34.          break;
  35.       }
  36.       if(eval("\x01") == 907)
  37.       {
  38.          set("\x01",eval("\x01") - 841);
  39.       }
  40.       else if(eval("\x01") == 697)
  41.       {
  42.          set("\x01",eval("\x01") - 529);
  43.          if(function ┬º\x01\x02┬º()
  44.          {
  45.             return 1189 % 511 * 5;
  46.          })
  47.          {
  48.             set("\x01",eval("\x01") + 190);
  49.          }
  50.       }
  51.       else
  52.       {
  53.          if(eval("\x01") == 168)
  54.          {
  55.             set("\x01",eval("\x01") + 190);
  56.             break;
  57.          }
  58.          if(eval("\x01") == 358)
  59.          {
  60.             set("\x01",eval("\x01") + 424);
  61.          }
  62.          else if(eval("\x01") == 199)
  63.          {
  64.             set("\x01",eval("\x01") - 133);
  65.          }
  66.          else if(eval("\x01") == 831)
  67.          {
  68.             set("\x01",eval("\x01") - 49);
  69.          }
  70.          else if(eval("\x01") == 66)
  71.          {
  72.             set("\x01",eval("\x01") + 79);
  73.             ┬º┬ºpush("\x0f");
  74.             ┬º┬ºpush(1);
  75.          }
  76.          else if(eval("\x01") == 782)
  77.          {
  78.             set("\x01",eval("\x01") - 289);
  79.             ┬º┬ºpush(true);
  80.          }
  81.          else if(eval("\x01") == 145)
  82.          {
  83.             set("\x01",eval("\x01") - 113);
  84.             var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  85.             {
  86.                return 1189 % 511 * 5;
  87.             };
  88.          }
  89.          else if(eval("\x01") == 43)
  90.          {
  91.             set("\x01",eval("\x01") + 726);
  92.             ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  93.             {
  94.                return 1189 % 511 * 5;
  95.             }));
  96.          }
  97.          else if(eval("\x01") == 769)
  98.          {
  99.             set("\x01",eval("\x01") + 207);
  100.             ┬º┬ºpush(!function ┬º\x01\x02┬º()
  101.             {
  102.                return 1189 % 511 * 5;
  103.             });
  104.          }
  105.          else
  106.          {
  107.             if(eval("\x01") != 976)
  108.             {
  109.                if(eval("\x01") == 215)
  110.                {
  111.                   set("\x01",eval("\x01") + 129);
  112.                   Say("King","grin","And here they are! The soldiers - no, the *Guards* - No! The *Heroes* who saved the day! The Kingdom owes so much to your efforts and achievements!");
  113.                   break;
  114.                }
  115.                if(eval("\x01") == 344)
  116.                {
  117.                   set("\x01",eval("\x01") - 344);
  118.                }
  119.                break;
  120.             }
  121.             set("\x01",eval("\x01") - 761);
  122.             if(function ┬º\x01\x02┬º()
  123.             {
  124.                return 1189 % 511 * 5;
  125.             })
  126.             {
  127.                set("\x01",eval("\x01") + 0);
  128.             }
  129.          }
  130.       }
  131.    }
  132. }
  133.